CscAuthorizationDetails

@Serializable
@SerialName(value = "credential")
data class CscAuthorizationDetails(    val credentialID: String? = null,     val signatureQualifier: SignatureQualifier? = null,     val documentDigests: Collection<OAuthDocumentDigest>,     val hashAlgorithmOid: ObjectIdentifier,     val locations: Collection<String>? = null,     val documentLocations: Collection<DocumentLocation>? = null) : AuthorizationDetails(source)

CSC-API v2.0.0.2 The authorization details type credential allows applications to pass the details of a certain credential authorization in a single JSON object

Constructors

Link copied to clipboard
constructor(    credentialID: String? = null,     signatureQualifier: SignatureQualifier? = null,     documentDigests: Collection<OAuthDocumentDigest>,     hashAlgorithmOid: ObjectIdentifier,     locations: Collection<String>? = null,     documentLocations: Collection<DocumentLocation>? = null)

Properties

Link copied to clipboard
@SerialName(value = "credentialID")
val credentialID: String? = null

The identifier associated to the credential to authorize

Link copied to clipboard
@SerialName(value = "documentDigests")
val documentDigests: Collection<OAuthDocumentDigest>

An array composed of entries for every document to be signed. This applies for array both cases, where are document is signed or a digest is signed

Link copied to clipboard
@SerialName(value = "documentLocations")
val documentLocations: Collection<DocumentLocation>? = null

UC5 RQES Specification: This parameter is used to convey the signer document. This parameter SHALL not be used when the signer document is not required for the creation of the signature (for example, in the Wallet-centric model)

Link copied to clipboard
@SerialName(value = "hashAlgorithmOID")
@Serializable(with = ObjectIdSerializer::class)
val hashAlgorithmOid: ObjectIdentifier

String containing the OID of the hash algorithm used to generate the hashes listed in documentDigests.

Link copied to clipboard
@SerialName(value = "locations")
val locations: Collection<String>? = null

An array of strings designating the locations of array the API where the access token issued in a certain OAuth transaction shall be used.

Link copied to clipboard
@SerialName(value = "signatureQualifier")
val signatureQualifier: SignatureQualifier? = null

This parameter contains the symbolic identifier determining the kind of signature to be created